FROM frolvlad/alpine-oraclejdk8:slim
VOLUME /tmp
ADD cloud-docker-hello-0.0.1-SNAPSHOT.jar /tmp/docker/cloud-docker-hello.jar
RUN sh -c 'touch /tmp/docker/cloud-docker-hello.jar'
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /tmp/docker/cloud-docker-hello.jar" ]